package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.CarPackageAudit;
import cn.wolfcode.car.business.qo.CarPackageAuditQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarPackageAuditMapper {

    int delete(Long id);

    int insert(CarPackageAudit carPackageAudit);

    CarPackageAudit selectOne(Long id);

    List<CarPackageAudit> selectAll();

    int update(CarPackageAudit carPackageAudit);

    List<CarPackageAudit> selectForList(CarPackageAuditQueryObject qo);

    void updateInstanceId(@Param("instanceId") Long instanceId, @Param("id") Long id);

    void changeStatus(@Param("status") Integer status, @Param("id") Long id);

    void updateAuditorId(@Param("auditorId") Long auditorId, @Param("id") Long id);
}